package com.tocici.domain.vo;

import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import com.tocici.domain.Carousel;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 轮播图视图对象 carousel
 *
 * @author zeratul
 * @date 2025-03-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Carousel.class)
public class CarouselVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private Long carouselId;

    /**
     * 图像路径
     */
    @ExcelProperty(value = "图像路径")
    private Long imageUrl;

    /**
     * 图像路径Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "imageUrl")
    private String imageUrlUrl;
    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Integer sortOrder;

    /**
     * 0-正常 1-禁用
     */
    @ExcelProperty(value = "0-正常 1-禁用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private Integer isActive;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private Integer isDeleted;


}
